package com.baizhi.springboot.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;

public class Guru {
    /*
  `guru_id` int(100) NOT NULL AUTO_INCREMENT,
  `guru_name` varchar(100) DEFAULT NULL,
  `guru_image` varchar(200) DEFAULT NULL,
  `guru_nickname` varchar(50) DEFAULT NULL,
  `guru_status` int(11) DEFAULT NULL COMMENT '1冻结 冻结的同时需要下架相关的专辑和文章',
  */
    @Excel(name = "guru_id")
    private Integer guruId;

    @Excel(name = "guru_name")
    private String guruName;

    @Excel(name = "guru_image",type = 2,imageType = 1,savePath = "d:/uploadFile/")
    private String guruImage;

    @Excel(name = "guru_nickname")
    private String guruNickname;

    @Excel(name = "guru_status",replace ={"正常_0","冻结_1"})
    private Integer guruStatus;

    @Override
    public String toString() {
        return "Guru{" +
                "guruId=" + guruId +
                ", guruName='" + guruName + '\'' +
                ", guruImage='" + guruImage + '\'' +
                ", guruNickname='" + guruNickname + '\'' +
                ", guruStatus=" + guruStatus +
                '}';
    }

    public Integer getGuruId() {
        return guruId;
    }

    public void setGuruId(Integer guruId) {
        this.guruId = guruId;
    }

    public String getGuruName() {
        return guruName;
    }

    public void setGuruName(String guruName) {
        this.guruName = guruName;
    }

    public String getGuruImage() {
        return guruImage;
    }

    public void setGuruImage(String guruImage) {
        this.guruImage = guruImage;
    }

    public String getGuruNickname() {
        return guruNickname;
    }

    public void setGuruNickname(String guruNickname) {
        this.guruNickname = guruNickname;
    }

    public Integer getGuruStatus() {
        return guruStatus;
    }

    public void setGuruStatus(Integer guruStatus) {
        this.guruStatus = guruStatus;
    }

    public Guru(Integer guruId, String guruName, String guruImage, String guruNickname, Integer guruStatus) {
        this.guruId = guruId;
        this.guruName = guruName;
        this.guruImage = guruImage;
        this.guruNickname = guruNickname;
        this.guruStatus = guruStatus;
    }

    public Guru() {
    }
}
